package com.dcrzl.shcz.common.entity.info;

import com.baomidou.mybatisplus.annotation.*;
import com.dcrzl.shcz.common.utils.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;


/**
 * @author dcrzl
 * @email 1728795786@qq.com
 * @date 2025-01-03 18:41:56
 */
@Data
@TableName("t_gov")
@Accessors(chain = true)
public class Gov extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     *
     */
    @TableField(value = "name")
    private String name;
    /**
     *
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;
    /**
     *
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    /**
     *
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private Collection<Long> idList;

    @TableField(exist = false)
    private Long roleId;

}
